#ifndef _LIGHT_H_
#define _LIGHT_H_

/* 共12个LED,分2组,每组6个 */

/* 东-西P1.0 - P1.2*/
sbit WE_R = P1^0;
sbit WE_Y = P1^1;
sbit WE_G = P1^2;
/* 南-北P1.3 - P1.5 */
sbit NS_R = P1^3;
sbit NS_Y = P1^4;
sbit NS_G = P1^5;

#define ON 0
#define OFF 1

extern void TrafficLight();

#endif
